package lng.site.balafon.dao;

import java.util.List;
import java.sql.Timestamp;

import lng.site.balafon.model.*;
/**
 * <p>Generic DAO layer for Commentaires</p>
 * <p>Generated at Thu Aug 02 21:53:16 CEST 2012</p>
 *
 * @author Salto-db Generator v1.0.16 / EJB3 + Spring/Hibernate DAO + TestCases
 * @see http://www.hibernate.org/328.html
 */
public interface CommentaireDAO extends GenericDAO<Commentaire,Integer> {

	/*
	 * TODO : Add specific businesses daos here.
	 * These methods will be overwrited if you re-generate this interface.
	 * You might want to extend this interface and to change the dao factory to return 
	 * an instance of the new implemenation in buildCommentaireDAO()
	 */
	  	 
	/**
	 * Find Commentaire by idQuestion
	 */
	public List<Commentaire> findByIdQuestion(Integer idQuestion);

	/**
	 * Find Commentaire by idMembre
	 */
	public List<Commentaire> findByIdMembre(Integer idMembre);

	/**
	 * Find Commentaire by dateCommentaire
	 */
	public List<Commentaire> findByDateCommentaire(Timestamp dateCommentaire);

	/**
	 * Find Commentaire by contenuCommentaire
	 */
	public List<Commentaire> findByContenuCommentaire(String contenuCommentaire);

}